altoslib: Add getBytes/putBytes interface to AltosPreferencesBackend