Modified the file backup function, to comply with older Android
versions.